/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entities;

/**
 *
 * @author fabio
 */
public class Link {

    private String linkDomain;
    private int counter;

    public Link(String linkDomain) {
        this.linkDomain = linkDomain;
        counter = 0;
    }

    public void incrementCounter() {
        counter++;
    }
    
    public void incrementBad() {
        counter++;
    }
    
    public void incrementGood() {
        counter++;
    }

    public int getCounter() {
        return counter;
    }

    
    public String getLinkDomain() {
        return linkDomain;
    }

    @Override
    public String toString() {
        return "Link{" + "linkDomain=" + linkDomain + ", Counter=" + counter + '}';
    }
}
